package org.csu.mybigpro.service;

import org.csu.mybigpro.domain.Assignment;
import org.csu.mybigpro.domain.Survey;

import java.util.List;

public interface SurveyService {
    boolean saveSurvey(Survey survey);

    boolean updateSurvey(Survey survey);

    boolean deleteSurveyById(Long id);

    Survey getSurveyById(Long id);

    List<Survey> getSurveyByTitle(String title);

    List<Survey> getAllSurveys();
}
